<%@ include file="/WEB-INF/common/taglibs.jsp"%>
<table>
	<tr>
		<td width="70%">
		<div class="ui-widget ui-widget-content">
		<div
			class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix headingTag">Latest&nbsp;Links</div>
		<div class="items"><c:forEach var="lnk" items="${links}">
			<div class="item">
			<div class="title"><a href="${lnk.url}" target="_blank">${lnk.name}</a></div>
			<div class="tagFlag">&nbsp;<fmt:formatDate
				value="${lnk.createdDate}" type="date" pattern="MM/dd/yyyy" />&nbsp;<c:if
				test="${not empty lnk.source}">from&nbsp;${lnk.source}
			</c:if></div>
			<div class="description">${lnk.description}</div>
			</div>
		</c:forEach><a href="<c:url value="/links.do" />">Get more links</a></div>
		</div>
		</td>
		<td>
		<div class="ui-widget ui-widget-content">
		<div
			class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix headingTag">Latest&nbsp;Shared&nbsp;Blogs</div>
		<div class="items"><c:forEach var="blog" items="${blogs}">
			<div class="item">
			<div class="description"><a href="${blog.url}" target="_blank">${blog.name}</a></div>
			</div>
		</c:forEach></div>
		</div>
		<br />
		<div class="ui-widget ui-widget-content">
		<div
			class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix headingTag">Hottest&nbsp;Topics</div>
		<div class="items"><c:forEach var="topic" items="${topics}">
			<div class="item">
			<div class="description"><a
				href="<c:url value="/topic.do?id=${topic.id}" />">${topic.name}</a></div>
			</div>
		</c:forEach></div>
		</div>
		</td>
	</tr>
</table>